<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<style> 
div
{
border:2px solid #a1a1a1;
padding:10px 40px; 
background:#dddddd;
width:300px;
border-radius:25px;
margin: auto;

}
</style>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
</head>

<body>


<div align="center">
    Customer Forgot Password Page, 
    please enter details to reset password:
    <br>
    <%
    String msg=(String)session.getAttribute("msg");
	if (msg!=null)
	out.println(msg);
	%>

    <html:form action="/forgotpassword_customer">
        First Name
        <input name="fname" type="text">
        <br>
        Last Name
        <input name="lname" type="text">
        <br>
        Security Question: 
        <%
        String SQ=(String)session.getAttribute("SQ");
        out.println(SQ); 
        %>
        <br>
        Security Answer 
        <input name="answer" type="text">
        <br>
        New Password
        <input name="password" type="text">
        <br>
        <input name="Submit" type="submit" value="submit">
    </html:form>
</div>

</body>

</html>